package com.shopping.mall.core.module.order.service;


import com.shopping.mall.core.module.order.entity.Order;
import org.springframework.scheduling.annotation.Async;

public interface MailService {
    void payOrder(Order oldOrder);

    void sendOrder(Order order);

    @Async
    void finishOrder(Order order);

    @Async
    void autoFinishOrder(Order order);
}
